<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php $this->load->view('include/html_head')?>
</head>
<body>
<div id="wrapper">
	<?php $this->load->view('include/header')?>
	<?php $this->load->view('include/menu')?>
	<div id="page">
		<div id="content">
		<?php $this->load->view('include/sub_navi')?>
			<div class="post">
			<form action='<?php echo BACKEND_TEACHER_CHANGE_EMAIL_POST_PATH ?>' method=post id='change_email_form'>
				<p class="meta">修改电子邮箱</p>
				<div class="entry">
				<ul>
					<label id='error_msg'><?php echo form_error('change_error', '<div class="error">', '</div>'); ?></label>
			  		<li>
				  		
					  	<label>旧电子邮箱：</label>
					  	<input type="text" id='old_email' name='old_email' class="validate[required,minSize[4],maxSize[50],custom[email],ajax[ajaxOldEmail]] text-input" value='<?php echo set_value("old_email");?>'/>
					  	<span id='a'><?php echo form_error('old_email', '<div class="error">', '</div>'); ?></span>
				  	</li>
				  	
				  	<li>
					  	
					  	<label>新电子邮箱：</label>
					  	<input type="text" id='email' name='email' class="validate[required,minSize[4],maxSize[50],custom[email],ajax[ajaxNewEmail]] text-input" value='<?php echo set_value("email");?>'/>
					  	<span id='a'><?php echo form_error('email', '<div class="error">', '</div>'); ?></span>
				  	</li>
				  	
				  	<li>
				  		
				  		<label>再输入邮箱：</label>
				  		<input type="text" id='re_email' name='re_email' class="validate[required,equals[email]] text-input" value='<?php echo set_value("re_email");?>' />
				  		<span id='a'><?php echo form_error('re_email', '<div class="error">', '</div>'); ?></span>
				  	</li>
				  	
				  	<li>
				  	<button type='submit' >确认</button>
					<a class='anchor_button' onclick="history.back(-1);" >返回</a><br />
					<span id='moreinfo'>点击确认修改E-mail成功后，将回到登陆页面，请重新登陆!</span>
				  	</li>
				</ul>
				</div>
				</form>
			</div>
			<div style="clear: both;">&nbsp;</div>
		</div>
		<!-- end #content -->
		<?php $this->load->view('include/side_bar')?>
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end #page -->
</div>
<?php $this->load->view('include/footer_content')?>
<?php $this->load->view('include/footer')?>
</body>
</html>
